CC=gcc -g
DIR=../../src/
DIR2=../../src/
all:test_semaphore test_pthread

test_semaphore: test_semaphore.c
	$(CC) test_semaphore.c $(DIR)semaphores.o $(DIR)thread.o $(DIR)list.o $(DIR)element.o -lpthread -o test_semaphore

test_pthread: test_pthread.c
	$(CC) test_pthread.c $(DIR)semaphores.o $(DIR)list.o $(DIR)element.o -lpthread -o test_pthread
clean:
	rm *.o